@import "./commom.scss"; //引入导航栏和版权区域的公共样式


// 活动时间、开幕时间和主办单位标签的样式设置
%label {}

// 轮播图样式设置
.banner {
    position: relative;
    // width: 100%;   //不要设置100%,设置定宽是为了缩小任然居中显示
    width: 1520px;
    margin: 0 auto;

    // 轮播图蒙版样式的设置
    .mask {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #000;
        opacity: 0.4;
    }

    img {
        width: 1520px;
        height: 515px;
    }
}

// 主体内容区域 
main {
    background-color: #F0EFEF;

    // content_head
    .content_header {
        margin: 0 auto;
        padding-top: 100px;
        padding-bottom: 132px;
        display: flex;
        justify-content: space-between;
        width: 1200px;
        height: 318px;

        p {
            margin: 40px;
            font-size: 22px;
            color: #999898;

            span {
                padding: 7px 6px;
                margin-right: 26px;
                background-color: #cf0d0d;
                border: none;
                color: #fff;
            }
        }


    }

    // 内容导航区域
    .content_nav {
        display: flex;
        justify-content: center;

        ul {
            margin-bottom: 96px;
            display: flex;
            justify-content: center;
            align-items: center;
            border-top: 2px solid #999898;
            border-bottom: 2px solid #999898;
            width: 1200px;
            height: 94px;

            li {
                a {
                    display: inline-block;
                    height: 94px;
                    line-height: 94px;
                    margin-right: 24px;
                    text-decoration: none;
                    color: #999898;
                    font-weight: 500;

                    &:hover {
                        color: #cf0d0d;
                    }
                }
            }
        }
    }

    // 内容区域
    .content_area {
        margin: 0 auto;
        padding-bottom: 326px;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        width: 1200px;

        div {
            margin-bottom: 12px;
            width: 594px;
            height: 536px;
            background-color: #fff;
            img {
                width: 100%;
            }

            p:first-of-type {
                font-size: 24px;
                margin: 36px 12px 44px 16px;
                display: flex;
                justify-content: space-between;
                color: #383636;

                span:last-of-type {
                    font-size: 22px;
                    color: #979797;

                    i {
                        margin-right: 14px;
                        font-size: 27px;
                        color: #cf0d0d;
                    }
                }
            }

            p:nth-of-type(n+2) {
                margin-bottom: 30px;
                margin-left: 16px;
                font-size: 22px;
                color: #999898;
    
                span {
                    padding: 7px 6px;
                    margin-right: 26px;
                    background-color: #cf0d0d;
                    border: none;
                    color: #fff;
                }
            }
        }

    }
}